/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package fr.ove.openmath.jome.ctrl.mml;

/**
 *
 * @author Mr.Sam
 */
import fr.ove.utils.CachingResourcesManager;

/**
*v The resources manager for the MathML parser.
*
* @author © 1999 DIRAT Laurent
* @version 1.0 26/05/2000
*/
public class MathMLParserResourcesManager extends CachingResourcesManager {
    /**
    * The Constructor.
    * @param resourcesName the name of the resources file.
    */
    public MathMLParserResourcesManager (String resourcesName) {
        super(resourcesName);
    }
    
    /**
    * Returns the class name corresponding to the specified property.
    * @param property the specified property
    */
    public String getIdentifier(String property) {
        return accessResource(property, 0);
    }
    
    /**
    * Returns the value associated to corresponding to the specified property.
    * @param property the specified property
    */
    public String getValue(String property) {
        return accessResource(property, 1);
    }
}

